<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@include file="include.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Login Page</title>
<link type="text/css" rel="stylesheet" href="/outbond/decorators/css/login.css">
<style>
.errorblock {
	color: #ff0000;
	background-color: #ffEEEE;
	border: 3px solid #ff0000;
	padding: 8px;
	margin: 16px;
}
</style>
</head>
<body onload='Page.Respon.Chace.SetChaceability(HttpChaceability.NoChace)'>
	<div id="wrapper">
		<c:if test="${not empty error}">
			<div class="errorblock">
				Your login attempt was not successful, try again.<br /> Caused :
				${sessionScope["SPRING_SECURITY_LAST_EXCEPTION"].message}
			</div>
		</c:if>
		<div id="container">
			<div id="header">
				<h3>Silahkan Login Terlebih Dahulu</h3>
			</div>

			<form name='f' action="<c:url value='j_spring_security_check' />"
				method="POST">
				<div id="content">
					<table align="center">
						<tr>
							<td>Username:</td>
							<td><input type='text' name='j_username' value=''></td>
						</tr>
						<tr>
							<td>Password:</td>
							<td><input type='password' name='j_password' /></td>
						</tr>
						<tr>
							<td><a href=#>Register?</a></td>
							<td align="right" colspan='2'><input name="submit"
								type="submit" value="submit" /></td>
						</tr>
					</table>
				</div>
			</form>
		</div>
	</div>
</body>
</html>